﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Device.Location;

namespace GeoFinder.Service
{
  // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService1" in both code and config file together.
  [ServiceContract]
  public interface IGeoFinder
  {
    [OperationContract]
    void Subscribe(long id, string uri, long facebook_id);

    [OperationContract]
    void SetBlackAndWhiteFacebookFriends(long id, List<long> friendsFacebookID);

    [OperationContract]
    List<long> UpdateFacebookFriends(long id, List<long> friendsFacebookID);

    [OperationContract]
    void UpdatePushSettings(long id, bool push_status, bool toast, bool tile, bool raw);

    [OperationContract]
    List<string> UpdateGPS(long id, GeoCoordinate gpsPosition);

    [OperationContract]
    void UpdateSearchingArea(long id, double searching_area);

    [OperationContract]
    void SendToastToAll(string title, string message);

    [OperationContract]
    void SendTileUpdateToAll(string title, int count, string imageUrl);

    [OperationContract]
    void SendRawNotificationToAll(string message);
  }
}
